package tut.thread.runnable1;

public class TestRunnableX {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		RunnableX r1 = new RunnableX("First runableX ");

		Thread t1 = new Thread(r1);

		t1.setName("T1");

		t1.setPriority(10);

		System.out.println("ThreadId: " + t1.getId() + ", ThreadName: " + t1.getName() + ", ThreadPriority: " + t1.getPriority());

		t1.start();
	}

}
